package com.qingyun.system.common.properties;


import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@NoArgsConstructor
@Component
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliYunOssProperties {
    /**
     * 地域节点
     */
    private String endpoint;

    /**
     * AccessKey ID
     */
    private String accessKey;

    /**
     * AccessKey Secret
     */
    private String secretKey;

    /**
     * bucket名称
     */
    private String bucketName;

    /**
     * 自定义域名(如：https://rent-car-bucket.oss-cn-beijing.aliyuncs.com/)
     */
    private String customDomain;
}
